<div class="users form">
<?php echo $this->Form->create('User');?>
	<fieldset>
 		<legend><?php __('Editando Informacion Personal'); ?></legend>
	<?php /*
		echo $this->Form->input('id');
		echo $this->Form->input('nombre');
		echo $this->Form->input('username');
		//echo $this->Form->input('passwords', array('value'=>$user['User']['password'], 'type'=>'password'));
		echo $this->Form->input('group_id');
		echo $this->Form->input('correo');
		*/		
	?>
	
	<table>
	 		<tr>
	 			<td><?php echo $this->Form->input('nombres');?></td>
	 			<td><?php echo $this->Form->input('apellidos');?></td>
	 		</tr>
	 		<tr>
	 			<td><?php echo $this->Form->input('tipo_documento');?></td>
	 			<td><?php echo $this->Form->input('username', array('label'=>'Documento'));?></td>
	 		</tr>
	 		<tr>	 			
	 			<td><?php echo $this->Form->input('fecha_nacimiento',array('minYear' => date('Y') - 60, 'maxYear' => date('Y') - 18));?></td>
	 			<td></td>	 			
	 		</tr>
	 		<tr>
				<td><?php //El departamento						  	
						  	?>Departamento<span style="color:#c73e14; font-weight:bold;">*</span><br/><?php
						  	echo $this->Form->select('departamento_id',array($departamentos), $departamento_activo, array('id'=>'departamentos'), false);
					?><span id="carga_municipios" style="display:none;">Cargando...</span>
				<td><?php //El municipio
						  	?>Municipio<span style="color:#c73e14; font-weight:bold;">*</span><br/><?php
							echo $this->Form->select('municipio_id',array($municipios),null,array('id'=>'municipios'),false);?></td>
			</tr>
			<tr>
				<td><?php echo $this->Form->input('direccion', array('label'=>'Direcci&oacute;n'));?></td>
				<td><?php echo $this->Form->input('telefono', array('label'=>'Tel&eacute;fono'));?></td>
			</tr>
			<tr>
				<td><?php echo $this->Form->input('celular');?></td>
				<td><?php echo $this->Form->input('correo', array('value'=>$this->Access->getMy('correo')));?></td>
			</tr>			
			<tr>
				<td>Carrera Profesional<span style="color:#c73e14; font-weight:bold;">*</span><br/>
					<?php
						  echo $this->Form->select('carrera_id',array($carreras),null,array('id'=>'carreras'),false);
					?></td>
				<td><?php echo $this->Form->input('perfil_profesional', array('type'=>'textarea'));?></td>
			</tr>
			<?php $nivel_estudio = array('Bachiller'=>'Bachiller','Tecnico'=>'Tecnico','Tecnologico'=>'Tecnologico','Profesional'=>'Profesional',
											 'Especializacion'=>'Especializacion','Maestria'=>'Maestria','Doctorado'=>'Doctorado');?>
			<tr>
				<td>Nivel de Estudios<span style="color:#c73e14; font-weight:bold;">*</span><br/>
				<?php echo $this->Form->select('nivel_estudio',array($nivel_estudio),null, array('id'=>'nivel_estudio'),false);?></td>
				<?php $style = "style='display:none'"; ?>
				<td><div id="estudio_otro" <?php echo $style?>><?php echo $this->Form->input('titulo', array('label'=>'Titulo'));?></div></td>
			</tr>
			<tr><td><?php  echo $this->Form->label("Hoja de Vida");?>
						<span style="font-size:12px;color:#c73e14;">Solo archivos .doc, .docx o .pdf</span>
						<?php echo $this->Form->file('File'); ?></td>
				<td>Aspiraci&oacute;n Salarial<span style="color:#c73e14; font-weight:bold;">*</span><br/>
					<?php echo $this->Form->input('aspiracion_salarial',array('label'=>'','id'=>'aspiracion_laboral'));?>
				</td>			
			</tr>
		</table>	
	</fieldset>
<?php echo $this->Form->end(__('Submit', true));?>
</div>
<div class="actions">
	<?php echo $this->Form->menu($this->Access->getMy('id'),$this->Access->getMy('group_id'));?>
</div>